import request from '@/utils/request'

// 查询会员数据列表
export function listAppOtherCustomer(query) {
  return request({
    url: '/app/information/appOtherCustomer/list',
    method: 'get',
    params: query
  })
}

// 查询会员数据详细
export function getAppOtherCustomer(id) {
  return request({
    url: '/app/information/appOtherCustomer/' + id,
    method: 'get'
  })
}

// 新增会员数据
export function addAppOtherCustomer(data) {
  return request({
    url: '/app/information/appOtherCustomer',
    method: 'post',
    data: data
  })
}

// 修改会员数据
export function updateAppOtherCustomer(data) {
  return request({
    url: '/app/information/appOtherCustomer',
    method: 'put',
    data: data
  })
}

// 删除会员数据
export function delAppOtherCustomer(id) {
  return request({
    url: '/app/information/appOtherCustomer/' + id,
    method: 'delete'
  })
}
